package com.jijuxie.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "upload")
public class UploadConfig {

    /**
     * 上传路径
     */
    private String path;

    /**
     * 访问URL
     */
    private String url;

    /**
     * 存储类型（默认local）
     */
    private String type = "local";
}
